<template>
  <div class="list">
    <cart-list-item v-for="item in cartList" :item-info="item"></cart-list-item>
  </div>
</template>

<script>
import CartListItem from "@/views/shopcart/ChildComps/CartListItem";
// vuex相关
import {mapGetters} from 'vuex'

export default {
  name: "CartList",
  components: {
    CartListItem
  },
  computed: {
    ...mapGetters(['cartList'])
  }
}
</script>

<style scoped>

</style>